package com.lianzheng.dao;

import java.util.List;
import com.lianzheng.model.TbDocArticleattach;

/**
 * User Data Access Object (DAO) interface.
 *
 * <p>
 * <a href="TbDocArticleattachDAO.java.html><i>View Source</i></a>
 * </p>
 *
 * @author <a href="heymanchen@gmail.com">haihua chen</a>
 */
public interface TbDocArticleattachDAO extends com.lianzheng.dao.DAO {
    /**
     * Gets TbDocArticleattachs information based on attachid
     * @param attachid the current ATTACHID
     * @return TbDocArticleattach populated TbDocArticleattach object
     */
    public TbDocArticleattach getTbDocArticleattach(String attachid);
	public TbDocArticleattach getTbDocArticleattachFull(String attachid);



    /**
     * add a tbDocArticleattach's information
     * @param tbDocArticleattach the object to be added
     */
    public void addTbDocArticleattach(TbDocArticleattach tbDocArticleattach);
    /**
     * update a tbDocArticleattach's information
     * @param tbDocArticleattach the object to be updated
     */
    public void updateTbDocArticleattach(TbDocArticleattach tbDocArticleattach);
    /**
     * Removes a tbDocArticleattach from the database by primary Key id
     * @param attachid the tbDocArticleattach's attachid
     */
    public void removeTbDocArticleattach(String attachid);

    /**
     * Gets a list of TbDocArticleattachs based on parameters passed in.
     *
     * @return List populated list of TbDocArticleattachs
     */
    public List getTbDocArticleattachs();

    public List getTbDocArticleattachByAnd(TbDocArticleattach tbDocArticleattach,String order_by);

    public List getTbDocArticleattachByOr(TbDocArticleattach tbDocArticleattach,String order_by);

    public List getTbDocArticleattachByLike(TbDocArticleattach tbDocArticleattach,String order_by);
}
